<!DOCTYPE html>
<?php
//  application/controllers/ScheduleController.php
?>
<html>
<head>
	<style>
		h1{
			text-align:center;
		}
		#YOTEIBI{
			text-align:center;
			margin-bottom:10px;
		}
		#DraftAge{
			text-align:center;
			margin-bottom:10px;
		}
		#StartEndTime{
			text-align:center;
			margin-bottom:10px;
		}
		#AssemblyPlace{
			text-align:center;
			margin-bottom:10px;
		}
		#NOTICE{
			margin:0 auto;
			width:300px;
			border-style:solid;
			border-color:black;
			border-width:thin;
			margin-bottom:10px;
		}
		#NOTICE_H{
			text-align:center;
			border-bottom-style:solid;
			border-bottom-width:thin;
			background-color:#BBBBBB;
			margin:0 0 0 0;
			padding:0 0 0 0;
		}
		#BACKLINK{
			text-align:center;
		}
	</style>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<?php if ($this->yoteiList === FALSE){?>
	<h1>予定はございません。</h1>
<?php }else if ($this->mapLink === FALSE){?>
	<h1>インターネット渋滞！</h1>
	<H1>しばらくしてから、もう一度おためしください。</H1>
<?php }else{?>
	<h1>練習試合<?php echo $this->Label[Names::DRAFTPURPOSE];?></h1>
	<div id='YOTEIBI'><?php echo $this->Label[Names::YOTEIBI];?></div>
	<div id='DraftAge'>対象学年：<?php echo $this->Label[Names::DRAFTAGE];?></div>
	<div id='StartEndTime'>集合時刻：<?php echo $this->Label[Names::STARTTIME];?>　解散時刻：<?php echo $this->Label[Names::ENDTIME];?></div>
	<div id='AssemblyPlace'>集合場所：<a target='_blank' href='<?php echo $this->Link[Names::ASSEMBLYYMAPLINK];?>'><?php echo $this->Label[Names::ASSEMBLYPLACE];?></a></div>
	<table id='NOTICE'>
		<tr id='NOTICE_H'>
			<td>おしらせ</td>
		</tr>
		<tr>
			<td>
				<?php if (!empty($this->Label[Names::NOTICE])){ ?>
					<?php echo $this->Label[Names::NOTICE];?>
				<?php } else {?>
					おしらせは、とくにありません。
				<?php }?>
			</td>
		</tr>
	</table>
<?php }?>
<div id="BACKLINK"><a href="/Calendar/vt?year=<?php echo $_REQUEST[Lib_Request_DateTime::KEY_YEAR];?>&month=<?php echo $_REQUEST[Lib_Request_DateTime::KEY_MONTH];?>">カレンダーに戻る</a></div>
</body>
</html>